package com.jaryle.wenxin.bean.menu;


import java.io.Serializable;
import java.util.Arrays;

/**
 * 描述:
 * 自定义菜单按钮基类
 *
 * @author jaryle
 * @version V1.0
 * @create 2018-12-17
 */
public class BaseButton implements Serializable {
    //菜单响应类型
    private String type;
    //菜单名字
    private String name;
    //子菜单
    private BaseButton [] subButton;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BaseButton[] getSubButton() {
        return subButton;
    }

    public void setSubButton(BaseButton[] subButton) {
        this.subButton = subButton;
    }

    @Override
    public String toString() {
        return "BaseMenu{" +
                "type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", subButton=" + Arrays.toString(subButton) +
                '}';
    }


}
